package com.ruoyi.module.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 积分对象 fu_points
 *
 * @author fubojin
 * @date 2025-03-03
 */
@Data
@ApiModel(value = "积分")
@EqualsAndHashCode(callSuper = true)
public class Points extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 客户ID
     */
    @Excel(name = "客户ID")
    @ApiModelProperty(value = "客户ID")
    private Long userId;

    /**
     * 订单ID
     */
    @Excel(name = "订单ID")
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    /**
     * 类型（1-图片，2-视频，3-文章， 4-其它，5-购买商品）
     */
    @ApiModelProperty(value = "类型（1-图片，2-视频，3-文章， 4-其它，5-购买商品）")
    private Integer type;

    /**
     * 积分数量
     */
    @Excel(name = "积分数量")
    @ApiModelProperty(value = "积分数量")
    private Integer pointsQuantity;

    /**
     * 订单信息
     */
    private Order order;

}
